Integrand size = 44, antiderivative size = 264 \[ \int \frac {(f+g x) \left (c d^2-b d e-b e^2 x-c e^2 x^2\right )^{5/2}}{(d+e x)^7} \, dx=-\frac {2 c^2 g \sqrt {d (c d-b e)-b e^2 x-c e^2 x^2}}{e^2 (d+e x)}+\frac {2 c g \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{3/2}}{3 e^2 (d+e x)^3}-\frac {2 g \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{5/2}}{5 e^2 (d+e x)^5}-\frac {2 (e f-d g) \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{7/2}}{7 e^2 (2 c d-b e) (d+e x)^7}-\frac {c^{5/2} g \arctan \left (\frac {e (b+2 c x)}{2 \sqrt {c} \sqrt {d (c d-b e)-b e^2 x-c e^2 x^2}}\right )}{e^2} \]
[Out]
Time = 0.33 (sec) , antiderivative size = 264, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {806, 676, 635, 210} \[ \int \frac {(f+g x) \left (c d^2-b d e-b e^2 x-c e^2 x^2\right )^{5/2}}{(d+e x)^7} \, dx=-\frac {c^{5/2} g \arctan \left (\frac {e (b+2 c x)}{2 \sqrt {c} \sqrt {d (c d-b e)-b e^2 x-c e^2 x^2}}\right )}{e^2}-\frac {2 c^2 g \sqrt {d (c d-b e)-b e^2 x-c e^2 x^2}}{e^2 (d+e x)}-\frac {2 (e f-d g) \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{7/2}}{7 e^2 (d+e x)^7 (2 c d-b e)}-\frac {2 g \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{5/2}}{5 e^2 (d+e x)^5}+\frac {2 c g \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{3/2}}{3 e^2 (d+e x)^3} \]
[In]
[Out]
Rule 210
Rule 635
Rule 676
Rule 806
Rubi steps \begin{align*} \text {integral}& = -\frac {2 (e f-d g) \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{7/2}}{7 e^2 (2 c d-b e) (d+e x)^7}+\frac {g \int \frac {\left (c d^2-b d e-b e^2 x-c e^2 x^2\right )^{5/2}}{(d+e x)^6} \, dx}{e} \\ & = -\frac {2 g \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{5/2}}{5 e^2 (d+e x)^5}-\frac {2 (e f-d g) \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{7/2}}{7 e^2 (2 c d-b e) (d+e x)^7}-\frac {(c g) \int \frac {\left (c d^2-b d e-b e^2 x-c e^2 x^2\right )^{3/2}}{(d+e x)^4} \, dx}{e} \\ & = \frac {2 c g \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{3/2}}{3 e^2 (d+e x)^3}-\frac {2 g \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{5/2}}{5 e^2 (d+e x)^5}-\frac {2 (e f-d g) \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{7/2}}{7 e^2 (2 c d-b e) (d+e x)^7}+\frac {\left (c^2 g\right ) \int \frac {\sqrt {c d^2-b d e-b e^2 x-c e^2 x^2}}{(d+e x)^2} \, dx}{e} \\ & = -\frac {2 c^2 g \sqrt {d (c d-b e)-b e^2 x-c e^2 x^2}}{e^2 (d+e x)}+\frac {2 c g \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{3/2}}{3 e^2 (d+e x)^3}-\frac {2 g \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{5/2}}{5 e^2 (d+e x)^5}-\frac {2 (e f-d g) \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{7/2}}{7 e^2 (2 c d-b e) (d+e x)^7}-\frac {\left (c^3 g\right ) \int \frac {1}{\sqrt {c d^2-b d e-b e^2 x-c e^2 x^2}} \, dx}{e} \\ & = -\frac {2 c^2 g \sqrt {d (c d-b e)-b e^2 x-c e^2 x^2}}{e^2 (d+e x)}+\frac {2 c g \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{3/2}}{3 e^2 (d+e x)^3}-\frac {2 g \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{5/2}}{5 e^2 (d+e x)^5}-\frac {2 (e f-d g) \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{7/2}}{7 e^2 (2 c d-b e) (d+e x)^7}-\frac {\left (2 c^3 g\right ) \text {Subst}\left (\int \frac {1}{-4 c e^2-x^2} \, dx,x,\frac {-b e^2-2 c e^2 x}{\sqrt {c d^2-b d e-b e^2 x-c e^2 x^2}}\right )}{e} \\ & = -\frac {2 c^2 g \sqrt {d (c d-b e)-b e^2 x-c e^2 x^2}}{e^2 (d+e x)}+\frac {2 c g \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{3/2}}{3 e^2 (d+e x)^3}-\frac {2 g \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{5/2}}{5 e^2 (d+e x)^5}-\frac {2 (e f-d g) \left (d (c d-b e)-b e^2 x-c e^2 x^2\right )^{7/2}}{7 e^2 (2 c d-b e) (d+e x)^7}-\frac {c^{5/2} g \tan ^{-1}\left (\frac {e (b+2 c x)}{2 \sqrt {c} \sqrt {d (c d-b e)-b e^2 x-c e^2 x^2}}\right )}{e^2} \\ \end{align*}
Time = 0.66 (sec) , antiderivative size = 298, normalized size of antiderivative = 1.13 \[ \int \frac {(f+g x) \left (c d^2-b d e-b e^2 x-c e^2 x^2\right )^{5/2}}{(d+e x)^7} \, dx=\frac {2 ((d+e x) (-b e+c (d-e x)))^{5/2} \left (-\frac {-210 c^3 d g (d+e x)^3+105 b c^2 e g (d+e x)^3+35 b c e g (d+e x)^2 (-c d+b e+c e x)-42 c d g (d+e x) (-c d+b e+c e x)^2+21 b e g (d+e x) (-c d+b e+c e x)^2+15 e f (-c d+b e+c e x)^3+70 c^2 d g (d+e x)^2 (-b e+c (d-e x))+15 d g (-b e+c (d-e x))^3}{(-2 c d+b e) (d+e x)^6 (-c d+b e+c e x)^2}+\frac {105 c^{5/2} g \arctan \left (\frac {\sqrt {c d-b e-c e x}}{\sqrt {c} \sqrt {d+e x}}\right )}{(d+e x)^{5/2} (-b e+c (d-e x))^{5/2}}\right )}{105 e^2} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(824\) vs. \(2(242)=484\).
Time = 4.66 (sec) , antiderivative size = 825, normalized size of antiderivative = 3.12
method | result | size |
default | \(\frac {g \left (-\frac {2 \left (-c \,e^{2} \left (x +\frac {d}{e}\right )^{2}+\left (-b \,e^{2}+2 c d e \right ) \left (x +\frac {d}{e}\right )\right )^{\frac {7}{2}}}{5 \left (-b \,e^{2}+2 c d e \right ) \left (x +\frac {d}{e}\right )^{6}}-\frac {2 c \,e^{2} \left (-\frac {2 \left (-c \,e^{2} \left (x +\frac {d}{e}\right )^{2}+\left (-b \,e^{2}+2 c d e \right ) \left (x +\frac {d}{e}\right )\right )^{\frac {7}{2}}}{3 \left (-b \,e^{2}+2 c d e \right ) \left (x +\frac {d}{e}\right )^{5}}-\frac {4 c \,e^{2} \left (-\frac {2 \left (-c \,e^{2} \left (x +\frac {d}{e}\right )^{2}+\left (-b \,e^{2}+2 c d e \right ) \left (x +\frac {d}{e}\right )\right )^{\frac {7}{2}}}{\left (-b \,e^{2}+2 c d e \right ) \left (x +\frac {d}{e}\right )^{4}}-\frac {6 c \,e^{2} \left (\frac {2 \left (-c \,e^{2} \left (x +\frac {d}{e}\right )^{2}+\left (-b \,e^{2}+2 c d e \right ) \left (x +\frac {d}{e}\right )\right )^{\frac {7}{2}}}{\left (-b \,e^{2}+2 c d e \right ) \left (x +\frac {d}{e}\right )^{3}}+\frac {8 c \,e^{2} \left (\frac {2 \left (-c \,e^{2} \left (x +\frac {d}{e}\right )^{2}+\left (-b \,e^{2}+2 c d e \right ) \left (x +\frac {d}{e}\right )\right )^{\frac {7}{2}}}{3 \left (-b \,e^{2}+2 c d e \right ) \left (x +\frac {d}{e}\right )^{2}}+\frac {10 c \,e^{2} \left (\frac {\left (-c \,e^{2} \left (x +\frac {d}{e}\right )^{2}+\left (-b \,e^{2}+2 c d e \right ) \left (x +\frac {d}{e}\right )\right )^{\frac {5}{2}}}{5}+\frac {\left (-b \,e^{2}+2 c d e \right ) \left (-\frac {\left (-2 c \,e^{2} \left (x +\frac {d}{e}\right )-b \,e^{2}+2 c d e \right ) \left (-c \,e^{2} \left (x +\frac {d}{e}\right )^{2}+\left (-b \,e^{2}+2 c d e \right ) \left (x +\frac {d}{e}\right )\right )^{\frac {3}{2}}}{8 c \,e^{2}}+\frac {3 \left (-b \,e^{2}+2 c d e \right )^{2} \left (-\frac {\left (-2 c \,e^{2} \left (x +\frac {d}{e}\right )-b \,e^{2}+2 c d e \right ) \sqrt {-c \,e^{2} \left (x +\frac {d}{e}\right )^{2}+\left (-b \,e^{2}+2 c d e \right ) \left (x +\frac {d}{e}\right )}}{4 c \,e^{2}}+\frac {\left (-b \,e^{2}+2 c d e \right )^{2} \arctan \left (\frac {\sqrt {c \,e^{2}}\, \left (x +\frac {d}{e}-\frac {-b \,e^{2}+2 c d e}{2 c \,e^{2}}\right )}{\sqrt {-c \,e^{2} \left (x +\frac {d}{e}\right )^{2}+\left (-b \,e^{2}+2 c d e \right ) \left (x +\frac {d}{e}\right )}}\right )}{8 c \,e^{2} \sqrt {c \,e^{2}}}\right )}{16 c \,e^{2}}\right )}{2}\right )}{3 \left (-b \,e^{2}+2 c d e \right )}\right )}{-b \,e^{2}+2 c d e}\right )}{-b \,e^{2}+2 c d e}\right )}{3 \left (-b \,e^{2}+2 c d e \right )}\right )}{5 \left (-b \,e^{2}+2 c d e \right )}\right )}{e^{7}}-\frac {2 \left (-d g +e f \right ) \left (-c \,e^{2} \left (x +\frac {d}{e}\right )^{2}+\left (-b \,e^{2}+2 c d e \right ) \left (x +\frac {d}{e}\right )\right )^{\frac {7}{2}}}{7 e^{8} \left (-b \,e^{2}+2 c d e \right ) \left (x +\frac {d}{e}\right )^{7}}\) | \(825\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 613 vs. \(2 (242) = 484\).
Time = 47.24 (sec) , antiderivative size = 1239, normalized size of antiderivative = 4.69 \[ \int \frac {(f+g x) \left (c d^2-b d e-b e^2 x-c e^2 x^2\right )^{5/2}}{(d+e x)^7} \, dx=\text {Too large to display} \]
[In]
[Out]
Timed out. \[ \int \frac {(f+g x) \left (c d^2-b d e-b e^2 x-c e^2 x^2\right )^{5/2}}{(d+e x)^7} \, dx=\text {Timed out} \]
[In]
[Out]
Exception generated. \[ \int \frac {(f+g x) \left (c d^2-b d e-b e^2 x-c e^2 x^2\right )^{5/2}}{(d+e x)^7} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
Timed out. \[ \int \frac {(f+g x) \left (c d^2-b d e-b e^2 x-c e^2 x^2\right )^{5/2}}{(d+e x)^7} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \frac {(f+g x) \left (c d^2-b d e-b e^2 x-c e^2 x^2\right )^{5/2}}{(d+e x)^7} \, dx=\int \frac {\left (f+g\,x\right )\,{\left (c\,d^2-b\,d\,e-c\,e^2\,x^2-b\,e^2\,x\right )}^{5/2}}{{\left (d+e\,x\right )}^7} \,d x \]
[In]
[Out]